<?php
/**
 * Created by PhpStorm.
 * User: xavier
 * Date: 9/19/2014
 * Time: 9:57 PM
 */

date_default_timezone_set('Europe/London');

defined("PAGE_EXT")
    || define("PAGE_EXT", '.html');

defined("DS")
    || define("DS", DIRECTORY_SEPARATOR);

defined("ROOT_PATH")
    || define("ROOT_PATH", realpath(dirname(__FILE__).DS."..".DS));

defined("CLASSES_PATH")
    || define("CLASSES_PATH", ROOT_PATH.DS.'classes');

defined("TEMPLATE_PATH")
    || define("TEMPLATE_PATH", ROOT_PATH.DS.'template');

set_include_path(implode(PATH_SEPARATOR, array(
    realpath(ROOT_PATH),
    realpath(CLASSES_PATH),
    get_include_path()
)));